@import '../../../var';
page {
  background-color: #f7f7f7;
}
.current_class {
  background-color: gold;
}
.header {
  padding: 30rpx 30rpx 20rpx;
  .swiperBox {
    width: 690rpx;
    height: 256rpx;
    .swiperItem {
      image {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.scroll-x {
  width: 100%;
  // 设置 white-space 属性为 nowrap，这会导致文本不换行，适合横向滚动的布局
  white-space: nowrap;
  background-color: rgb(224, 224, 224);
  padding-left: 0px;
  view {
    // 设置 display 属性为 inline-block，这会使元素以内联块级元素的方式显示，可以在同一行内显示多个元素
    display: inline-block;
    width: 204rpx;
    height: 80rpx;
    line-height: 80rpx;
    text-align: center;
  }
}
.nav {
  display: flex;
  width: 100%;
  padding: 20rpx 30rpx;
  background-color: #f7f7f7;
  z-index: 99;
  .navItem {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40rpx;
    color: $info-color;
    font-size: 26rpx;
    &.active {
      color: $title-color;
      font-weight: 600;
      font-size: 30rpx;
    }
  }
}

.fixed {
  position: fixed;
}

.section {
  .list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 200rpx;
    margin: 0 30rpx 30rpx 0;
    padding: 10rpx 5rpx 2rpx 10rpx;
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    box-shadow: 0px 2rpx 3rpx 0rpx rgba(0, 0, 0, 0.09);
    &:nth-child(3n) {
      margin-right: 0;
    }
    .user {
      width: 100%;
      height: 56rpx;
    }
    .name {
      width: 100%;
      height: 50rpx;
      color: $title-color;
      font-weight: 100;
      font-size: 28rpx;
      line-height: 50rpx;
      text-align: left;
    }
    .title {
      width: 100%;
      height: 50rpx;
      color: #000;
      font-size: 24rpx;
      font-weight: 100;
      line-height: 50rpx;
      text-align: left;
    }
    .btn {
      span {
        font-size: 28rpx;
      }
      display: flex;
      align-items: center;
      justify-content: center;
      width: 130rpx;
      height: 44rpx;
      font-size: 24rpx;
      border: 2rpx solid $primary-color;
      border-radius: 22rpx;
    }
  }
}

.tips {
  margin-top: 100rpx;
  width: 100%;
  text-align: center;
  color: #cccccc;
}
